package com.jingdong.service.order.impl;

import com.jingdong.dao.order.OrderItemDao;
import com.jingdong.model.Order_items;
import com.jingdong.service.order.OrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderItemServiceImpl implements OrderItemService {
    @Autowired
    private OrderItemDao orderItemDao;

    @Override
    public int addOrderItem(Order_items orderItem) {
        return orderItemDao.addOrderItem(orderItem);
    }
}
